package com.mrjy.maintain.dto;

public class TeacherParamDTO {
	//排序 (asc：升序；desc：降序)
	private String sort ;
	//行数
	private int rows ; 
	//页数
	private int page ;
	// 每页起始记录下标
	private int pageStart; 
	
	public String getSort() {
		return sort;
	}
	public void setSort(String sort) {
		this.sort = sort;
	}
	public int getRows() {
		return rows;
	}
	public void setRows(int rows) {
		this.rows = rows;
		this.pageStart = (page - 1) * rows; // 设置每页起始记录下标
	}

	public int getPageStart() {
		return pageStart;
	}

	public void setPageStart(int pageStart) {
		this.pageStart = pageStart;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	
	
	
}
